from .import index_blue
from info import redis_store
import  logging
from flask import current_app,render_template

@index_blue.route('/',methods=["GET","POST"])
def show_index():

    return render_template('news/index.html')


#处理网站logo
@index_blue.route('/favicon.ico')
def get_logo():
    response  = current_app.send_static_file("news/favicon.ico")
    return  response